package io.mft.as.ar.gateway.exception;

/**
 * 描述: 
 * 版权: Copyright (c) 2012 
 * 公司: 思迪信息
 * 作者: 李炜
 * 版本: 1.0 
 * 创建日期: Apr 27, 2014 
 * 创建时间: 2:09:29 PM
 */
public class GatewayClientException extends RuntimeException
{
	
	private int errorNo;
	
	public GatewayClientException(int errorNo)
	{
		super();
		this.errorNo = errorNo;
	}
	
	public GatewayClientException(int errorNo, String message)
	{
		super(message);
		this.errorNo = errorNo;
	}
	
	public GatewayClientException(int errorNo, String message, Throwable cause)
	{
		super(message, cause);
		this.errorNo = errorNo;
	}
	
	public GatewayClientException(int errorNo, Throwable cause)
	{
		super(cause);
		this.errorNo = errorNo;
	}
	
	public int getErrorNo()
	{
		return errorNo;
	}
	
}
